package com.mes.schedule.domain;

import java.io.Serializable;

/**
 * 
 * 记录资源某个时间段的占用情况
 * @author 王敏
 *
 */
public class ResourceSegement implements Serializable {
	public final static int OCCUPYTYPE_PROCESS = 1;//加工
	public final static int OCCUPYTYPE_PREOP = 2;//准备
	public final static int OCCUPYTYPE_POSTOP = 3;//卸载
	protected int segement;
	protected int capacity; //占用能力数量
	protected int occupyType;
	//分配的任务
	protected SOperationTask operationTask;
	public int getSegement() {
		return segement;
	}
	public void setSegement(int segement) {
		this.segement = segement;
	}
	public int getCapacity() {
		return capacity;
	}
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	public int getOccupyType() {
		return occupyType;
	}
	public void setOccupyType(int occupyType) {
		this.occupyType = occupyType;
	}
	public SOperationTask getOperationTask() {
		return operationTask;
	}
	public void setOperationTask(SOperationTask operationTask) {
		this.operationTask = operationTask;
	}
	
}
